﻿using Service.DI;
using Service.Server.Ultrasound;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Utils.Mvvm;

namespace ViewModel.Ultrasound
{
    public class UltrasoundViewModel : BindableBase,ISingletonService
    {
        private readonly IUltrasoundServer _ultrasoundServer;

        public UltrasoundViewModel(IUltrasoundServer ultrasoundServer)
        {
            _ultrasoundServer = ultrasoundServer;
        }

        public bool CheckDev()
        {
            return _ultrasoundServer.CheckDev();
        }

        public bool ExecDev()
        {
            return _ultrasoundServer.ExecDev();
        }
    }
}
